From d51e2923310d219d1a2ef3a508dc252d74713763 Mon Sep 17 00:00:00 2001 From: Keir Fraser Date: Wed, 9 Sep 2009 15:34:37 +0100 Subject: [PATCH] Fix typo in c/s 20158:f9ce5858. Signed-off-by: Keir Fraser --- tools/python/xen/xend/XendDomainInfo.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/python/xen/xend/XendDomainInfo.py b/tools/python/xen/xend/XendDomainInfo.py index 4cc204b188..249a62b667 100644 --- a/tools/python/xen/xend/XendDomainInfo.py +++ b/tools/python/xen/xend/XendDomainInfo.py @@ -3011,7 +3011,7 @@ class XendDomainInfo: fn = blkdev_uname_to_file(disk) # If this is a drbd volume, check if we need to activate it - if disktype.find(":") != -1: + if disk.find(":") != -1: (disktype, diskname) = disk.split(':', 1) if disktype == 'drbd': (drbdadmstdin, drbdadmstdout) = os.popen2(["/sbin/drbdadm", "state", diskname]) -- 2.30.2